import request from '../utils/request';

export function queryRecommend(params) {
  return request({
    url: '/common/recommend',
    params,
  });
}

export function search(params) {
  return request({
    url: '/common/search',
    params,
  });
}

export function queryOperationDay() {
  return request({
    url: '/common/operation/day',
  });
}

export function queryTradeDay(params) {
  return request({
    url: '/common/trade/day',
    params,
  });
}

export function matchWord(word) {
  return request({
    url: '/common/word/match',
    params: {
      word,
    },
  });
}
